package com.itheima.practice;

public class practice1 {
    public static void main(String[] args) {
        getMax();
    }

    public static void getMax() {
        int a=20;
        int b=30;
        if (a>b){
            System.out.println(a);
        }else {
            System.out.println(b);
        }
    }
}
